Contents

import pandas as pd
import csv
import plotly.express as px
from plotly.offline import init_notebook_mode

init_notebook_mode()
wb_df = pd.read_csv('../data/iunc_whales_only.csv')
wb_df.head(n=1000)


fig = px.histogram(wb_df, x="redlistCategory")

fig.update_layout(
    title='Population trend',
    height=600,
    xaxis={'categoryorder':'total descending'}
    
)
fig.show()